package com.HelloSpring.DI;

public class Document {
	private IWriter docWriter;
	
	public void setDocWriter(IWriter dWriter) {
		docWriter = dWriter;
	}

	public IWriter getDocWriter() {
		return docWriter;
	}

	public void write(String str) {
		docWriter.write(str);
	}
}
